package io.gitee.crud.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class DemoUserUpdateDTO {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotBlank(message = "部门不能为空")
    private String dept;
}
